package com.example.practical_training_projects.service;

import com.example.practical_training_projects.entity.test3;
import com.example.practical_training_projects.entity.user;
import com.example.practical_training_projects.vo.votest2class;
import com.example.practical_training_projects.vo.votest3class;
import com.example.practical_training_projects.vo.votest3class;
import com.github.pagehelper.PageInfo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface test3Service {
    List<test3> getAlltest3();
    Integer deleteTest3(Integer t3_uid);
    Integer insertTest3(test3 t3_uid);
    test3 findTest3uid(Integer t3_uid);
    Integer updateTest3(test3 test3);

    List<test3>  getContest3(String t3_context);
    List<votest3class> findAlltest3Andclass();
    List<votest3class> findtest3Bycontext(String t3_context);
    List<votest3class> findtest3BycontextAndclassuid(Integer ts_uid, String t3_context);

    PageInfo<votest3class> findtestpage(Integer pageNum, Integer pageSize);//分页，pageNum：当前是第几页,pageSize：每页多少条数据
}
